    <div data-role="header">
        <!-- Header -->
        <?php
           include("../Include/banner.inc.php")
        ?>
        
        <div data-role="navbar">
            <ul>
                <li><a href="#programme" target='_self'><?php echo $textes['programme'][$_COOKIE['lang']] ?></a></li>
		<li><a href="#chateau" target='_self'><?php echo $textes['chateau'][$_COOKIE['lang']] ?></a></li> 
            </ul>
	</div>
    </div>

    <div data-role="content">
        		
        <div data-role="collapsible-set" data-content-theme="c">                  
                  <?php
                    $dateDebut = 17;
                    $dateFin = 19;
                    
                    for($i = $dateDebut ; $i <= $dateFin; $i++){
                         echo "<div data-role='collapsible'>";
                         echo "<h3>$i " . $textes['mois'][$_COOKIE['lang']] . " 2012</h3>";
                         echo "<ul class='ui-listview' data-split-theme='d' data-split-icon='gear' data-role='listview'>";
                         $events = getAllEventsByDay($i);
                         while($ligne = mysql_fetch_array($events)){
                                echo "<li class='ui-btn ui-btn-icon-right ui-li-has-arrow ui-corner-top ui-btn-up-c ui-li-has-count' data-theme='c'>\n";
                                echo "<div class='ui-li' aria-hidden='true'>\n";
                                echo "<div class='ui-btn-text'>\n";
                                echo "<div id='picture'><img class='align_left' src='../Include/images/events/$ligne[4].png'></img></div>";
                                echo "<a class='ui-link-inherit' id='linkEvenement' data-rel='dialog' href='/Rilke/PlanChateau/dialogTest.php?id=". $ligne[0]."'>\n";
                                echo htmlentities(mysql_escape_string($ligne[1]));
                                echo "<span class='ui-li-count ui-btn-up-c ui-btn-corner-all' id='timeEvenement'>" . $ligne[2] . "</span>";
                                echo "<p class='ui-li-desc'><br/></p>";
                                echo "</a></div></div></li>";

                         }
                         
                         echo "</ul>";
                         echo "</div>";
                    }
                  ?>
              </ul>
         </div>
</div>

    <!-- Footer -->
    <?php
    include("../Include/footer.inc.php")
    ?>